package com.akk.module.user.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
@ApiModel(value = "手机转账")
public class UserTransferRequest {


        @ApiModelProperty(value = "被转人手机号",required = true)
        @NotBlank(message = "被转账人不能为空")
        private String toPhone;
        @ApiModelProperty(value = "转账金额",required = true)
        @NotNull(message = "转账金额不能为空")
        private Double money;
        @ApiModelProperty(value = "交易密码",required = true)
        @NotBlank(message = "交易密码不能为空")
        private String transPwd;

        public String getToPhone() {
            return toPhone;
        }

        public void setToPhone(String toPhone) {
            this.toPhone = toPhone;
        }

        public Double getMoney() {
            return money;
        }

        public void setMoney(Double money) {
            this.money = money;
        }

        public String getTransPwd() {
            return transPwd;
        }

        public void setTransPwd(String transPwd) {
            this.transPwd = transPwd;
        }
}
